<%@ Page Language="C#" AutoEventWireup="true" EnableViewStateMac="false" MasterPageFile="~/MainMaster.master" CodeFile="Specialty.aspx.cs" Inherits="Directory_Specialty" %>

<%@ Register Assembly="Manager" Namespace="PagingControl" TagPrefix="cc1" %>
<asp:Content ID="Speciality" ContentPlaceHolderID="MainTable" runat="server">
    
    <div class="heading_inner">
        <div class="heading_topic">
            <h2>Doctor Directory Listing</h2>
        </div>
    </div>

    <div class="cl"></div>
    <!---/ Left wrapper -->
    <div style="width: 94%; padding: 3%">
        <div style="background-color: #f4f4f4; width: 94%; padding: 3%">
            <table width="700px" border="0" cellpadding="0" cellspacing="0">
                <tr valign="top">
                    <!-- start Gray Box like Doctor DataBase -->

                    <!-- Gray Box Like Doctor DataBase End-->

                    <td colspan="2" align="left">

                        <!--  State Details -->

                        FindaDoc aims to make searching for the best doctors as easy as possible. A website
                                            primarily serving as a directory of rated doctors, FindaDoc can help you gain access
                                            to the top doctors in the United States. Our online doctor database is a great way
                                            to be acquainted with top doctors across the country. As a user, you may search
                                            for the best local doctor or find a doctor at the top of their field on the national
                                            level.    
                                        
                                        <!--  State Details -->
                    </td>
                </tr>


            </table>

            <table>
                <tr>
                    <td style="height: 10px"></td>
                </tr>
            </table>

            <table width="700px" border="0" cellpadding="0" cellspacing="0">
                <tr valign="top">
                    <td colspan="2" align="left">
                        <!--  State Details -->

                        <asp:GridView runat="Server" DataKeyNames="RowNum" ID="grdvSpecility" AllowPaging="false" AutoGenerateColumns="False" Width="100%"
                            PagerStyle-ForeColor="white"
                            PagerStyle-HorizontalAlign="Center"
                            GridLines="None">

                            <Columns>
                                <asp:TemplateField HeaderText="Specialty">
                                    <ItemTemplate>

                                        <a class="link-result" href='<%=Session["strHttp"]%>DoctorDirectory/<%#getUrl(Eval("state"))%>-doctors/<%#getUrl(Eval("city"))%>-doctors/<%#getUrl(Eval("city"))%>-<%# getUrl(Eval("Specility"))%>/' title="Show Specility">
                                            <%=Session["strHttp"]%><%#Eval("state")%>/<%#Eval("city")%>/<%#Eval("Specility")%>/
                                                            </b></a>
                                        <br />
                                        <br />

                                    </ItemTemplate>
                                    <HeaderStyle HorizontalAlign="Left" />
                                </asp:TemplateField>
                            </Columns>
                            <HeaderStyle />
                            <PagerStyle ForeColor="White" HorizontalAlign="Right" />
                        </asp:GridView>

                        <!--  State Details -->
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <cc1:Paging ID="cntPaging" runat="server" ResultsLocation="Bottom"
                            StoredProcedureName="Usp_DirectoryLavelSearch"
                            OrderBy="state" Control_Type="GridView" BindToControl="grdvSpecility" PagerCount="10" PageSize="25" ShowFirst="False" ShowLast="False"></cc1:Paging>

                    </td>
                </tr>
               
            </table>


        </div>
    </div>



</asp:Content>


